/*
 * testskip.cpp
 *
 *  Created on: Mar 25, 2012
 *      Author: Stephen
 */


#include <iostream>
#include "skipset.h"
#include "rand100.h"

int main()
{
	srand100(23);
	SkipSet<double> set;
	int r;
	for(int a = 0; a < 500; a++)
	{
		r = rand100();
		if(rand100()%2)
			set.ins(r,a);
		else
			set.del(r);
		if(a%100 == 0)
			set.print(1);
	}

	set.print(1);

	std::cout << "Derpa derpa.\n" << std::endl;
}
